package day1022;

/**
 * @Author:galaxy_yan
 * @Date: 2022/10/22
 * @Time: 16:07
 * @Description
 */
public class Demo1 {
    public static void main(String[] args) {
        BinaryTree tree=new BinaryTree();
        tree.create();
        tree.postOrder(tree.root);
        System.out.println("======");
        System.out.println(tree.size(tree.root));
        System.out.println("=========");
        System.out.println(tree.getKLevelNodeCount(tree.root,3));
        System.out.println(tree.find(tree.root,5));
        tree.levelOrder(tree.root);
    }
}
